<?php 

error_reporting(E_ALL || E_ERROR);
define(LOG4PHP_DIR, "include/log4php");
require_once(LOG4PHP_DIR . '/LoggerManager.php');

class AppInit{
public $logger = NULL;	
public function  __construct(){
	$this->logger = LoggerManager::getLogger('test');
}

public function __destruct(){
	LoggerManager::shutdown();
}

}